package com.example.java1query.domain;

import lombok.Data;

import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Data
@Embeddable
public class BasicInfo {

    private Integer money= 1;
    @Enumerated(EnumType.STRING)
    private CommunityPosition communityPosition= CommunityPosition.guest;
    public enum CommunityPosition{
        master, admin, guest
    }
}
